package com.library.model.serviceimple;

import com.library.model.dao.UserUpdateDAO;
import com.library.model.dto.register.RegisterDTO;
import com.library.model.service.UserUpdateService;

public class UserUpdateServiceImple implements UserUpdateService{

	private UserUpdateDAO getuserdao;
	
	public void setGetuserdao(UserUpdateDAO getuserdao) {
		this.getuserdao = getuserdao;
	}

	public RegisterDTO getUser(String id) {
		return getuserdao.getUser(id);
	}

	public void updateUser(RegisterDTO dto) {
		getuserdao.updateUser(dto);
	}

}
